package org.cx.oa.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * AbstractEmployee entity provides the base persistence definition of the
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee implements java.io.Serializable {

	// Fields

	private Integer id;
	private Department department;
	private Post post;
	private RightGroups rightGroups;
	private String userName;
	private String userPwd;
	private String jobNumber;
	private String usertrueName;
	private Boolean usersex;
	private String mobilePhone;
	private String userQq;
	private String phone;
	private Date brithday;
	private Set departments = new HashSet(0);
	private Set userInfos = new HashSet(0);
	private Set totalUploads = new HashSet(0);
	

	

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public Post getPost() {
		return this.post;
	}

	public void setPost(Post post) {
		this.post = post;
	}

	public RightGroups getRightGroups() {
		return this.rightGroups;
	}

	public void setRightGroups(RightGroups rightGroups) {
		this.rightGroups = rightGroups;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getJobNumber() {
		return this.jobNumber;
	}

	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}

	public String getUsertrueName() {
		return this.usertrueName;
	}

	public void setUsertrueName(String usertrueName) {
		this.usertrueName = usertrueName;
	}

	public Boolean getUsersex() {
		return this.usersex;
	}

	public void setUsersex(Boolean usersex) {
		this.usersex = usersex;
	}

	public String getMobilePhone() {
		return this.mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getUserQq() {
		return this.userQq;
	}

	public void setUserQq(String userQq) {
		this.userQq = userQq;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getBrithday() {
		return this.brithday;
	}

	public void setBrithday(Date brithday) {
		this.brithday = brithday;
	}

	public Set getDepartments() {
		return this.departments;
	}

	public void setDepartments(Set departments) {
		this.departments = departments;
	}

	public Set getUserInfos() {
		return this.userInfos;
	}

	public void setUserInfos(Set userInfos) {
		this.userInfos = userInfos;
	}

	public Set getTotalUploads() {
		return this.totalUploads;
	}

	public void setTotalUploads(Set totalUploads) {
		this.totalUploads = totalUploads;
	}

}